#version 450 core
layout(location = 0) out vec4 color;

uniform vec4 u_Color;

in vec2 textureCoord;

# 采样器变量
uniform sampler2D outTexture;

void main()
{
	if (u_Color.w == 1) color = u_Color;
	else color = texture(outTexture, textureCoord);
}
